SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46699: Using PROC DATASETS with SAS/ACCESS® Interface to Greenplum might result in a syntax error

DetailsAboutRate It
A syntax error might occur when you use the DATASETS procedure (PROC) to change the name of a table with SAS/ACCESS Interface to Greenplum. For example, the following code could generate the error and the error message:
libname glib greenplm dsn=greenplum user=userid password=passwd1 schema=public;

proc datasets lib=glib;
  delete curdata2;
  change curdata1=curdata2;
quit;

ERROR: CLI execute error: [SAS ACCESS to Greenplum][ODBC Greenplum Wire Protocol
driver][Greenplum]ERROR: syntax error at or near "."(Position 63;File scan.l;Line 
979;Routine base_yyerror;) 

Workarounds

To work around this issue, do one of the following:

  • If the default schema with which the user ID logs in to the Greenplum database is the same as the one needed for use with PROC DATASETS, omit the schema option from the LIBNAME statement.
  • Use a different method such as PROC SQL or DATA Step code to create a new data set and delete the old one.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to GreenplumMicrosoft® Windows® for x649.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition9.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows Server 2003 for x649.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows Server 20089.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows Server 2008 for x649.3_M19.319.3 TS1M19.3 TS1M2
Microsoft Windows XP Professional9.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Enterprise 32 bit9.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Enterprise x649.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Home Premium 32 bit9.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Home Premium x649.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Professional 32 bit9.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Professional x649.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Ultimate 32 bit9.3_M19.319.3 TS1M19.3 TS1M2
Windows 7 Ultimate x649.3_M19.319.3 TS1M19.3 TS1M2
Windows Vista9.3_M19.319.3 TS1M19.3 TS1M2
Windows Vista for x649.3_M19.319.3 TS1M19.3 TS1M2
64-bit Enabled AIX9.3_M19.319.3 TS1M19.3 TS1M2
64-bit Enabled Solaris9.3_M19.319.3 TS1M19.3 TS1M2
HP-UX IPF9.3_M19.319.3 TS1M19.3 TS1M2
Linux9.3_M19.319.3 TS1M19.3 TS1M2
Linux for x649.3_M19.319.3 TS1M19.3 TS1M2
Solaris for x649.3_M19.319.3 TS1M19.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.